﻿using System;
namespace ML.Entity
{
    /// <summary>
    /// 商户管理实体
    /// </summary>
    public class MerchantEntity
    {
        /// <summary>
        /// 主键
        /// </summary>		
        public string Id { get; set; } = Guid.NewGuid().ToString("N");

        /// <summary>
        /// 用户Id
        /// </summary>
        public string UserId { get; set; }

        /// <summary>
        /// 平台分类Id
        /// </summary>		
        public string PlatFormId { get; set; }

        /// <summary>
        /// 商户名
        /// </summary>		
        public string Name { get; set; }


        /// <summary>
        /// 商户Logo
        /// </summary>		
        public string Logo { get; set; }

        /// <summary>
        /// 商户公告
        /// </summary>		
        public string Notice { get; set; }

        /// <summary>
        /// 商户电话
        /// </summary>		
        public string Phone { get; set; }

        /// <summary>
        /// 商户地址
        /// </summary>		
        public string Address { get; set; }

        /// <summary>
        /// 商户营业开始时间
        /// </summary>		
        public string BusinessStartHours { get; set; }

        /// <summary>
        /// 商户营业结束时间
        /// </summary>		
        public string BusinessEndHours { get; set; }

        /// <summary>
        /// 配送费
        /// </summary>		
        public decimal DistributionFee { get; set; }

        /// <summary>
        /// 是否营业
        /// </summary>		
        public int JoinMark { get; set; } = (int)JoinMarkStatus.joinmark_true;

        /// <summary>
        /// 删除标识
        /// </summary>		
        public int DelMark { get; set; } = (int)DeleteStatus.delete_false;

        /// <summary>
        /// 创建时间
        /// </summary>		
        public DateTime CreateTime { get; set; } = DateTime.Now;

        /// <summary>
        /// 描述
        /// </summary>
        public string MlDescribe { get; set; }

        /// <summary>
        /// 经度
        /// </summary>
        public string Lat { get; set; }

        /// <summary>
        /// 纬度
        /// </summary>
        public string Lon { get; set; }

        /// <summary>
        /// 更新时间
        /// </summary>		
        public DateTime? UpdateTime { get; set; }
    }
}